home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / websrvcs / nsIWSPInterfaceInfoService.h < prev   
C/C++ Source or Header  |  2006-05-08  |  4KB  |  103 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIWSPInterfaceInfoService.idl
  3.  */
  4.  
  5. #ifndef __gen_nsIWSPInterfaceInfoService_h__
  6. #define __gen_nsIWSPInterfaceInfoService_h__
  7.  
  8.  
  9. #ifndef __gen_nsISupports_h__
  10. #include "nsISupports.h"
  11. #endif
  12.  
  13. #ifndef __gen_nsIInterfaceInfo_h__
  14. #include "nsIInterfaceInfo.h"
  15. #endif
  16.  
  17. #ifndef __gen_nsIInterfaceInfoManager_h__
  18. #include "nsIInterfaceInfoManager.h"
  19. #endif
  20.  
  21. #ifndef __gen_nsIWSDL_h__
  22. #include "nsIWSDL.h"
  23. #endif
  24.  
  25. /* For IDL files that don't want to include root IDL files. */
  26. #ifndef NS_NO_VTABLE
  27. #define NS_NO_VTABLE
  28. #endif
  29.  
  30. /* starting interface:    nsIWSPInterfaceInfoService */
  31. #define NS_IWSPINTERFACEINFOSERVICE_IID_STR "8c7bf4bc-d3fe-4524-b213-ce578bfe936e"
  32.  
  33. #define NS_IWSPINTERFACEINFOSERVICE_IID \
  34.   {0x8c7bf4bc, 0xd3fe, 0x4524, \
  35.     { 0xb2, 0x13, 0xce, 0x57, 0x8b, 0xfe, 0x93, 0x6e }}
  36.  
  37. class NS_NO_VTABLE nsIWSPInterfaceInfoService : public nsISupports {
  38.  public: 
  39.  
  40.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IWSPINTERFACEINFOSERVICE_IID)
  41.  
  42.   /* nsIInterfaceInfo infoForPort (in nsIWSDLPort aPort, in AString aPortURL, in AString aQualifier, in PRBool aIsAsync, out nsIInterfaceInfoManager aSet); */
  43.   NS_IMETHOD InfoForPort(nsIWSDLPort *aPort, const nsAString & aPortURL, const nsAString & aQualifier, PRBool aIsAsync, nsIInterfaceInfoManager **aSet, nsIInterfaceInfo **_retval) = 0;
  44.  
  45. };
  46.  
  47. /* Use this macro when declaring classes that implement this interface. */
  48. #define NS_DECL_NSIWSPINTERFACEINFOSERVICE \
  49.   NS_IMETHOD InfoForPort(nsIWSDLPort *aPort, const nsAString & aPortURL, const nsAString & aQualifier, PRBool aIsAsync, nsIInterfaceInfoManager **aSet, nsIInterfaceInfo **_retval); 
  50.  
  51. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  52. #define NS_FORWARD_NSIWSPINTERFACEINFOSERVICE(_to) \
  53.   NS_IMETHOD InfoForPort(nsIWSDLPort *aPort, const nsAString & aPortURL, const nsAString & aQualifier, PRBool aIsAsync, nsIInterfaceInfoManager **aSet, nsIInterfaceInfo **_retval) { return _to InfoForPort(aPort, aPortURL, aQualifier, aIsAsync, aSet, _retval); } 
  54.  
  55. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  56. #define NS_FORWARD_SAFE_NSIWSPINTERFACEINFOSERVICE(_to) \
  57.   NS_IMETHOD InfoForPort(nsIWSDLPort *aPort, const nsAString & aPortURL, const nsAString & aQualifier, PRBool aIsAsync, nsIInterfaceInfoManager **aSet, nsIInterfaceInfo **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->InfoForPort(aPort, aPortURL, aQualifier, aIsAsync, aSet, _retval); } 
  58.  
  59. #if 0
  60. /* Use the code below as a template for the implementation class for this interface. */
  61.  
  62. /* Header file */
  63. class nsWSPInterfaceInfoService : public nsIWSPInterfaceInfoService
  64. {
  65. public:
  66.   NS_DECL_ISUPPORTS
  67.   NS_DECL_NSIWSPINTERFACEINFOSERVICE
  68.  
  69.   nsWSPInterfaceInfoService();
  70.  
  71. private:
  72.   ~nsWSPInterfaceInfoService();
  73.  
  74. protected:
  75.   /* additional members */
  76. };
  77.  
  78. /* Implementation file */
  79. NS_IMPL_ISUPPORTS1(nsWSPInterfaceInfoService, nsIWSPInterfaceInfoService)
  80.  
  81. nsWSPInterfaceInfoService::nsWSPInterfaceInfoService()
  82. {
  83.   /* member initializers and constructor code */
  84. }
  85.  
  86. nsWSPInterfaceInfoService::~nsWSPInterfaceInfoService()
  87. {
  88.   /* destructor code */
  89. }
  90.  
  91. /* nsIInterfaceInfo infoForPort (in nsIWSDLPort aPort, in AString aPortURL, in AString aQualifier, in PRBool aIsAsync, out nsIInterfaceInfoManager aSet); */
  92. NS_IMETHODIMP nsWSPInterfaceInfoService::InfoForPort(nsIWSDLPort *aPort, const nsAString & aPortURL, const nsAString & aQualifier, PRBool aIsAsync, nsIInterfaceInfoManager **aSet, nsIInterfaceInfo **_retval)
  93. {
  94.     return NS_ERROR_NOT_IMPLEMENTED;
  95. }
  96.  
  97. /* End of implementation class template. */
  98. #endif
  99.  
  100. #define NS_WSP_INTERFACEINFOSERVICE_CONTRACTID "@mozilla.org/xmlextras/proxy/interfaceinfoservice;1"
  101.  
  102. #endif /* __gen_nsIWSPInterfaceInfoService_h__ */
  103.